package cn.kgc.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

//薪资配置
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SalaryPO {
    //薪资标准编码
    private String salaryId;
    //薪资标准名称
    private String sname;
    //制定人
    private String designer;
    //登记人
    private String register;
    //登记时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date registrationTime;
    //基本工资
    private Double base;
    //绩效奖金
    private Double bonus;
    //交通补助
    private Double traffic;
    //通讯补助
    private Double communication;
    //餐补
    private Double meal;
    //住房补助
    private Double housing;
    //出差补助
    private Double travel;
    //加班补助
    private Double overtime;
    //薪资总额
    private Double gross;
    //复核意见
    private String reviewComments;
    //变更原因
    private String reasonChange;
    //状态（0-起草,1-审核中，2-审核通过，3-审核拒绝）
    private int state;
}
